const db=wx.cloud.database()
const musiclist=db.collection("musiclist")
const audioCtx=wx.createInnerAudioContext()
Page({
  data:{
      tab:2,
      item:2
  },
onLoad(){
  musiclist.get().then(res=>{
    console.log(res)
    this.setData({
      musiclist:res.data,
      play:res.data[0]
    })
  })
}
})